GXPrintRecordToJob
QuickDraw GX sends theGXPrintRecordToJob
message when an application that supports the Macintosh Printing Manager calls theGXPrintRecordToJob
function, which converts a print record into information in the job collection. You can override theGXPrintRecordToJob
message if you have a printer driver written for the Macintosh Printing Manager with a print record format you wish to continue to support. Your override of theGXPrintRecordToJob
message must match the following formal declaration:
OSErr MyPrintRecordToJob (THPrint aTHPrint, gxJob aJob);
aTHPrint
- A handle to the print record for this printing operation.
aJob
- The job object.
- function result
- An error code. The value
noErr
indicates that the operation was successful.DESCRIPTION
The default implementation of theGXPrintRecordToJob
message sends theGXConvertPrintRecordTo
message and then moves all of the universal fields into the job object.SPECIAL CONSIDERATIONS
You never send theGXPrintRecordToJob
message yourself.You can totally or partially override the
GXPrintRecordToJob
message.RESULT CODES
gxSegmentLoadFailedErr A required code segment could not be found,
or there was not enough memory to load it.gxPrUserAbortErr The user has canceled printing. SEE ALSO
TheGXPrintRecordToJob
function is described in Inside Macintosh: QuickDraw GX Printing.The
GXConvertPrintRecordTo
message is described in the previous section.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help